package com.suket.jnn;

import org.apache.log4j.Logger;

public class SigmoidFunction {

  static Logger logger = Logger.getLogger(SigmoidFunction.class);

  public static double activation( double x ) {
    return 1.0 / ( 1.0 + ExponentialFunction.expTaylor(-x) );
  }

}
